package com.gjb6.master.account;


import static com.gjb6.master.common.http.UrlBase.URL_PREFIX;

/**
 * url center
 *
 * @Author: PV
 * @E-mail: pengveivei@sina.cn
 * @CreateDate: 2016/7/18 15:04
 * @Version: 1.0.0
 */
public class UrlCenter {

    private static final String URL_HEAD = "";



    /**
     * 刷新token
     */

    public final static String UPDATATOKEN = URL_PREFIX + URL_HEAD+ "/user/refreshToken";
    /**
     * 获取token
     */
    public final static String LOGIN = URL_PREFIX + URL_HEAD+ "/engineer/engineerLogin";
    /**
     * 获取验证码
     * type: 1、注册 2 、修改密码 3、重置密码
     */
    public final static String CAPTCHA =  URL_PREFIX +"/captcha/%1$s/type/%2$d";
    /**
     *判断用户是否存在
     */
    public final static String ISEXIST =  URL_PREFIX +"/engineer/isExist/%1$s";

    /**
     *忘记密码
     */
    public final static String FORGETPASSWORD =  URL_PREFIX +"/engineer/backPd";

    /**
     * 获取用户协议
     */

    public final static String GET_AGREEMENT = URL_PREFIX+"/user/agreement?id=2";

    /**
     * 注册
     */
    public final static String REGISTER = URL_PREFIX + "/engineer/engineerRegister";
    /**
     * 获取师傅信息
     */
    public final static String USER = URL_PREFIX+ URL_HEAD + "/engineer";
    /**
     * 修改密码
     */

    public final static String FORGET_PASSWORD = URL_PREFIX + "/engineer/password";

    // region 七牛云token
    /**
     * QINIU_TOKEN
     */
    public final static String QINIU_TOKEN = URL_PREFIX + "/abcd" + "/qiniu/uptoken";
    /**
     * QINIU_ OUT LINK 用来跟key拼接生成文件url
     */
    public static final String OUTER_LINK = "http://ogeo9cgq3.bkt.clouddn.com/";
    // endregion
    /**
     * 根据手机号获取信息
     */
    public final static String GET_USER_INFO = URL_PREFIX+ URL_HEAD + "/user/getUserInfo";

}
